<template>
    <div>
        <el-image v-if="!preview" :src="content" style="max-width: 100%"></el-image>
        <el-image v-if="preview" :src="content"   style="width: 80px;height: 80px"></el-image>
    </div>
</template>
<script>
    export default {
        name: "EditerPhotoView",
        props: {
            content: {
                default: '',
            },
            preview:{
                default: false,
            },
        }
    }
</script>
